package numberFour;

import java.util.concurrent.Callable;

public class MMath implements Callable<Integer> {
    @Override
    public Integer call() throws Exception {
        int count=0;
        for (int i = 0; i <=100; i++) {
            count+=i;
            System.out.println(i);
        }
        return count;
    }
}
